class GlobalVariable {
  static const String BASE_URL = 'https://live-api.itheima.net/';
  static const int NEW_WORK_TIME_OUT = 10; // flutter中dio超时时间是s为单位
  static const int SUCCESS_CODE = 10000; // 成功的code
  static const String TOKEN_KEY = "token_key"; // 存储首选项的常量key
  static const String REFRESH_TOKEN_KEY = "refresh_token_key"; // 刷新token的key
  static const String GAO_BASE_URL = "https://restapi.amap.com/v3/"; // 高德地图的baseUrl


  // int num double
}

class HTTP_PATH {
  static const String ANNOUNCE_LIST = 'announcement';
  static const String SEND_CODE = "code"; // 发送验证码的地址
  static const String LOGIN = "login"; // 登录的地址
  static const String USER_INFO = "userInfo"; // 登录的地址
  static const String UPLOAD = "upload";
  static const String HOUSE_LIST = "room"; // 房屋列表的地址
  static const String REGEO = "geocode/regeo"; // 逆地理编码的当前地址
  static const String NEARLIST = "place/around"; // 附近周边
}
